
package com.lvmama.pangolin.mybatis.mapper.xc;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.xc.XCTicketProduct;

public interface XCTicketProductMapper
{

	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(XCTicketProduct record);

	int insertSelective(XCTicketProduct record);

	XCTicketProduct selectByPrimaryKey(String id);

	XCTicketProduct selectByProdId(@Param(value="productId")String productId);

	int updateByPrimaryKeySelective(XCTicketProduct record);
	
	int updateByProdIdSelective(XCTicketProduct record);

	int updateByPrimaryKey(XCTicketProduct record);
	
	List<XCTicketProduct> getAllList(ProductConditionVO pc);
	List<XCTicketProduct> selectAll();
	List<XCTicketProduct> selectByName(String name);
	List<XCTicketProduct> selectByUrl(@Param("url")String url,@Param("url2")String url2);
	
	public void updateByProdId(@Param("productId")String productId);
	
	public void deleteLinkByProdId(@Param("productId")String productId);
}
